﻿using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using VisionCloud.Core.Model.Ms;
using VisionCloud.Domain.DtoModel.Ms;

namespace VisionCloud.Domain.Repository.Interface.Ms
{
    public interface IMsMeasureItemRepository : IBaseRepository<MsMeasureItem>
    {
        /// <summary>
        /// 根据户型图Id获取测量项模板信息
        /// </summary>
        /// <param name="houseMapId">户型图编号</param>
        /// <returns></returns>
        Task<List<MeasureItem>> GetMeasureItemTemplate(Guid houseMapId, int pointIndex);

        /// <summary>
        /// 根据户型图Id获取测量项信息
        /// </summary>
        /// <param name="houseMapId">户型图Id</param>
        /// <returns></returns>
        Task<List<MsMeasureItem>> Get(Guid houseMapId);

        Task<List<MsMeasureItem>> GetDataByhouseMapIds(Guid[] houseMapIds);
    }
}